package com.rstrulak.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.rstrulak.dao.UserDao;
import com.rstrulak.model.User;

@Service("userManager")
public class UserManagerImpl implements UserManager {

	@Autowired
	private UserDao userDao;

	@Override
	public User getUserByLastName(String lastName) {
		return userDao.getUserByLastName(lastName);
	}

}
